<template>
	<view class="topicLearningWrap">
		<view class="topicLearning" v-for="item in 7" :key="item" @click="toMytest">
			<view class="topicLearning_top">
				<text>融工于医：计算机视觉和VR技术助力临床学发展.pdf</text>
			</view>
			<view class="topicLearning_bottom">
				<text class="topicLearning_bottom_left">2022.12.12</text>
				<!-- <text class="topicLearning_bottom_right">文件下载</text> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			// 去往测试的详情
			toMytest() {
				console.log(111);
				uni.navigateTo({
					url: '../../subpkg/myText/index',
					success: res => {},
					fail: () => {},
					complete: () => {}
				});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.topicLearningWrap {
		padding: 32rpx;
		// background: #fff;

		// 专题学习
		.topicLearning {
			width: 100%;
			height: 190rpx;
			// margin-left: 20rpx;

			// background: red;
			box-shadow: 0rpx 10rpx 20rpx 0rpx rgba(29, 82, 130, 0.06);
			border-radius: 16rpx;
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			margin-top: 30rpx;


			.topicLearning_top {
				padding-left: 25rpx;
				width: 100%;
				height: 96rpx;
				font-size: 32rpx;
				font-family: PingFangSC-Medium, PingFang SC;
				font-weight: 700;
				color: #2A3447;
				line-height: 48rpx;
			}



			.topicLearning_bottom {
				padding-left: 25rpx;
				display: flex;
				justify-content: space-between;


			}
		}
	}
</style>